package com.dog.basics.service.mtkj;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.bean.dto.admin.mtkj.HospitalWheelchairAddDto;
import com.dog.basics.bean.dto.admin.mtkj.HospitalWheelchairEditDto;
import com.dog.basics.bean.dto.admin.mtkj.LockPassAddDto;
import com.dog.basics.bean.dto.admin.mtkj.LockPassFromDto;
import com.dog.basics.bean.model.mtkj.MtDeviceLockPass;
import com.dog.basics.bean.vo.admin.mtkj.LockPassVo;
import com.dog.basics.bean.vo.api.mtkj.ApiLockPassVo;
import com.dog.basics.bean.vo.api.mtkj.ApiLockVo;
import com.dog.basics.common.util.PageParam;

/**
 * <p>
 * 设备锁通道表 服务类
 * </p>
 *
 * @author wph
 * @since 2020-09-30
 */
public interface IMtDeviceLockPassService extends IService<MtDeviceLockPass> {
    /**
     * @Description: 分页设备锁通道
     * @Param: status
     * @return: IPage<LockPassVo>
     * @Author: wph
     * @Date:
     */
    IPage<LockPassVo> getPageList(PageParam page, LockPassFromDto obj);
    /**
     * @Description: 设备锁详情
     * @Param: id
     * @return: ApiLockVo
     * @Author: wph
     * @Date:
     */
    ApiLockPassVo getApiObjXq(Long id);


    /**
     * @Description: 增加设备锁通道轮椅关联
     * @Param: obj
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/05/19  0027
     */
    Boolean saveObj(LockPassAddDto obj);

    /**
     * @Description: 修改设备锁通道轮椅关联
     * @Param: obj
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/05/19  0027
     */
    Boolean editObj(LockPassAddDto obj);

    /**
     * @Description: 删除设备锁通道轮椅关联
     * @Param: ids
     * @return: Boolean
     * @Author: wph
     * @Date: 2020/05/19  0027
     */
    Boolean deleteObj(Long id);

    /** 
     * @功能描述:  修改设备锁通信息
     * @author He
     * @date 2020/11/27
     */
    Boolean editMtDeviceLockPassById(MtDeviceLockPass deviceLockPass);
}
